# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file '/media/sda6/Project/PyQt/MMC/pelanggan.ui'
#
# Created: Sat Jan 10 14:09:42 2009
#      by: PyQt4 UI code generator 4.3.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_PelangganDlg(object):
    def setupUi(self, PelangganDlg):
        PelangganDlg.setObjectName("PelangganDlg")
        PelangganDlg.resize(QtCore.QSize(QtCore.QRect(0,0,1232,682).size()).expandedTo(PelangganDlg.minimumSizeHint()))

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(PelangganDlg.sizePolicy().hasHeightForWidth())
        PelangganDlg.setSizePolicy(sizePolicy)

        self.gridlayout = QtGui.QGridLayout(PelangganDlg)
        self.gridlayout.setObjectName("gridlayout")

        self.vboxlayout = QtGui.QVBoxLayout()
        self.vboxlayout.setObjectName("vboxlayout")

        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")

        self.namaCb = QtGui.QCheckBox(PelangganDlg)
        self.namaCb.setObjectName("namaCb")
        self.hboxlayout.addWidget(self.namaCb)

        self.namaEdt = QtGui.QLineEdit(PelangganDlg)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.namaEdt.sizePolicy().hasHeightForWidth())
        self.namaEdt.setSizePolicy(sizePolicy)
        self.namaEdt.setObjectName("namaEdt")
        self.hboxlayout.addWidget(self.namaEdt)

        self.noCb = QtGui.QCheckBox(PelangganDlg)
        self.noCb.setObjectName("noCb")
        self.hboxlayout.addWidget(self.noCb)

        self.noEdt = QtGui.QLineEdit(PelangganDlg)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.noEdt.sizePolicy().hasHeightForWidth())
        self.noEdt.setSizePolicy(sizePolicy)
        self.noEdt.setObjectName("noEdt")
        self.hboxlayout.addWidget(self.noEdt)

        self.tgl_cb = QtGui.QCheckBox(PelangganDlg)
        self.tgl_cb.setObjectName("tgl_cb")
        self.hboxlayout.addWidget(self.tgl_cb)

        self.tgl_aw = QtGui.QDateEdit(PelangganDlg)
        self.tgl_aw.setCalendarPopup(True)
        self.tgl_aw.setObjectName("tgl_aw")
        self.hboxlayout.addWidget(self.tgl_aw)

        self.label = QtGui.QLabel(PelangganDlg)
        self.label.setObjectName("label")
        self.hboxlayout.addWidget(self.label)

        self.tgl_ak = QtGui.QDateEdit(PelangganDlg)
        self.tgl_ak.setCalendarPopup(True)
        self.tgl_ak.setObjectName("tgl_ak")
        self.hboxlayout.addWidget(self.tgl_ak)

        self.alamat_cb = QtGui.QCheckBox(PelangganDlg)
        self.alamat_cb.setObjectName("alamat_cb")
        self.hboxlayout.addWidget(self.alamat_cb)

        self.alamat_le = QtGui.QLineEdit(PelangganDlg)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.alamat_le.sizePolicy().hasHeightForWidth())
        self.alamat_le.setSizePolicy(sizePolicy)
        self.alamat_le.setObjectName("alamat_le")
        self.hboxlayout.addWidget(self.alamat_le)

        self.kota_cb = QtGui.QCheckBox(PelangganDlg)
        self.kota_cb.setObjectName("kota_cb")
        self.hboxlayout.addWidget(self.kota_cb)

        self.kota_le = QtGui.QLineEdit(PelangganDlg)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.kota_le.sizePolicy().hasHeightForWidth())
        self.kota_le.setSizePolicy(sizePolicy)
        self.kota_le.setObjectName("kota_le")
        self.hboxlayout.addWidget(self.kota_le)

        self.pekj_cb = QtGui.QCheckBox(PelangganDlg)
        self.pekj_cb.setObjectName("pekj_cb")
        self.hboxlayout.addWidget(self.pekj_cb)

        self.pekj_le = QtGui.QLineEdit(PelangganDlg)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pekj_le.sizePolicy().hasHeightForWidth())
        self.pekj_le.setSizePolicy(sizePolicy)
        self.pekj_le.setObjectName("pekj_le")
        self.hboxlayout.addWidget(self.pekj_le)

        spacerItem = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem)
        self.vboxlayout.addLayout(self.hboxlayout)

        self.masterTv = QtGui.QTableView(PelangganDlg)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(3)
        sizePolicy.setHeightForWidth(self.masterTv.sizePolicy().hasHeightForWidth())
        self.masterTv.setSizePolicy(sizePolicy)
        self.masterTv.setAlternatingRowColors(True)
        self.masterTv.setObjectName("masterTv")
        self.vboxlayout.addWidget(self.masterTv)

        self.detailTv = QtGui.QTableView(PelangganDlg)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.detailTv.sizePolicy().hasHeightForWidth())
        self.detailTv.setSizePolicy(sizePolicy)
        self.detailTv.setAlternatingRowColors(True)
        self.detailTv.setObjectName("detailTv")
        self.vboxlayout.addWidget(self.detailTv)
        self.gridlayout.addLayout(self.vboxlayout,0,0,1,1)

        self.retranslateUi(PelangganDlg)
        QtCore.QMetaObject.connectSlotsByName(PelangganDlg)
        PelangganDlg.setTabOrder(self.namaCb,self.namaEdt)
        PelangganDlg.setTabOrder(self.namaEdt,self.noCb)
        PelangganDlg.setTabOrder(self.noCb,self.noEdt)
        PelangganDlg.setTabOrder(self.noEdt,self.masterTv)
        PelangganDlg.setTabOrder(self.masterTv,self.detailTv)

    def retranslateUi(self, PelangganDlg):
        PelangganDlg.setWindowTitle(QtGui.QApplication.translate("PelangganDlg", "Pelanggan", None, QtGui.QApplication.UnicodeUTF8))
        self.namaCb.setText(QtGui.QApplication.translate("PelangganDlg", "Nama:", None, QtGui.QApplication.UnicodeUTF8))
        self.noCb.setText(QtGui.QApplication.translate("PelangganDlg", "No MMC:", None, QtGui.QApplication.UnicodeUTF8))
        self.tgl_cb.setText(QtGui.QApplication.translate("PelangganDlg", "Tgl Daftar:", None, QtGui.QApplication.UnicodeUTF8))
        self.tgl_aw.setDisplayFormat(QtGui.QApplication.translate("PelangganDlg", "dd-MM-yyyy", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("PelangganDlg", "sd", None, QtGui.QApplication.UnicodeUTF8))
        self.tgl_ak.setDisplayFormat(QtGui.QApplication.translate("PelangganDlg", "dd-MM-yyyy", None, QtGui.QApplication.UnicodeUTF8))
        self.alamat_cb.setText(QtGui.QApplication.translate("PelangganDlg", "Alamat:", None, QtGui.QApplication.UnicodeUTF8))
        self.kota_cb.setText(QtGui.QApplication.translate("PelangganDlg", "Kota:", None, QtGui.QApplication.UnicodeUTF8))
        self.pekj_cb.setText(QtGui.QApplication.translate("PelangganDlg", "Pekj:", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    PelangganDlg = QtGui.QDialog()
    ui = Ui_PelangganDlg()
    ui.setupUi(PelangganDlg)
    PelangganDlg.show()
    sys.exit(app.exec_())
